Notebook XML |
Alex van Buitenen |
This is not a XSLT tutorial or Quick Reference.
It is just my personal notebook for XML.
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="filename.xsl"?>
Everything inside a CDATA section is ignored by the parser.
A CDATA section starts with "<![CDATA[" and ends with "]]>".
XmlDocument _xmlDocument = new XmlDocument();
// Create an XML declaration.
XmlNode declarationNode = _xmlDocument.CreateXmlDeclaration("1.0", "utf-8", "");
_xmlDocument.AppendChild(declarationNode);